﻿<html>
<head>
<title></title>
<meta name='keywords' content='phpscup'>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<style type="text/css">
*{
	margin: 0;
	padding: 0;
	font-size: 12px;
}
.buton {
font: 12px verdana,tahoma; 
color: #fff; 
background-color: #4a6ea5;
border:1px #003366 solid;
height:2em;
}

</style>
</head>
<body bgcolor="#ffffff" text="#000000" leftmargin="0" topmargin="0">


					
<form name="form1" method="post" action="<?php echo $this->_url("psptool/upfile/");?>" enctype="multipart/form-data">
  <input type="file" name="attach[]" style="height:20px;"  class="buton"/>
  <?php 
  if($tf=='pic')
  { 
  ?>
          <select name='waterimg'>
		  <option value='0' >请选择是否加水印...</option>
          <option value='1' >加</option>
          <option value='0' >不加</option> 
          </select>
          <br/>
          缩略图大小:长(px)<input type="text" maxlength="4" size="6" value="0" name="thumb_width"> 
		  x 宽(px) <input type="text" maxlength="4" size="6" value="0" name="thumb_height">
  <?php 
  }else
  {
  ?>
  <input type="hidden" name="waterimg" value="0"> 
  <input type="hidden" name="thumb_width" value="0">  
  <input type="hidden" name="thumb_height" value="0">
  <input type="hidden" name="tf" value="<?php echo $tf ; ?>">   
  <?php 
  }
  ?>  		  
  <input  type="submit" name="Submit" value="上传文件" style="height:20px;" class="buton">
  <input type="hidden" name="act" value="post">
  <input type="hidden" name="jsfun" value="<?php echo $jsfun; ?>">    
  <input type="hidden" name="uppic" value="<?php echo $uppic; ?>">
  <input type="hidden" name="picurl" value="<?php echo $picurl; ?>">
  <input type="hidden" name="updir" value="<?php echo $updir; ?>">  
</form>

</body>
</html>